package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface IPermissionService {
    void delete(Long id);

    void save(Permission permission);

    Permission get(Long id);

    List<Permission> listAll();

    void update(Permission permission);
    PageResult<Permission> query(QueryObject qo);

    void reload();

     //根据员工查询权限列表
    List<String> selectByEmpId(Long id);
}
